/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-12-15 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getList = (params) => axios.post(`${SERVER.RETAIL}/ttVsAllocateApply/queryAllocateApply`, params)
// 查询详情
export const getDetail = (params) => axios.get(`${SERVER.RETAIL}/ttVsAllocateApply/queryAllocateApplyDetail`, {
  params
})
// 入库确认
export const updateAllocateApply = (params) => axios.put(`${SERVER.RETAIL}/ttVsAllocateApply/updateAllocateApply`, params)
